<!DOCTYPE html>
<html lang="en">
<?php include "head.php"; ?>
<body id="page1">
<div class="body1">
	<div class="body2">
		<div class="body3">
			<div class="main zerogrid">
<!-- header --><header>
				<?php include "menu.php"; ?>
                               <?php include "slide.php"; ?>
                </header>
<!-- / header--><?php

 $base_serv = new connectSQL(); 

 $resultado3 = $base_serv->Query("SELECT * FROM pgsobre WHERE cod = ".$_GET["cod"]); 

                        foreach ($resultado3 as $result3){
                            $h2 = $result3["titulo"];
                            $descricao = $result3["texto"];
                           // $img = $result3["img"];
                        }
                  
?>
						<h2><span><?php echo $h2; ?></span> </h2>
						<div class="wrapper">	
							<div class="col-1-4"><div class="wrap-col">	
							<figure><img src="<?php //echo $img; ?>" alt=""></figure>
							</div></div>
								
							<?php echo $descricao; ?>
                                                </div>
                                        </div>
				
			</div>
		</div>
	</div>
</div>
<div class="body4">
</div>
<!-- / content -->
<div class="main zerogrid">
<!-- footer -->
<?php include "footer.php"; ?>
<!-- / footer -->
</div>
<script type="text/javascript"> Cufon.now(); </script>
<script type="text/javascript">
	$(document).ready(function() {
		$('#myRoundabout').roundabout({
			 shape: 'square',
			 minScale: 0.93, // tiny!
			 maxScale: 1, // tiny!
			 easing:'easeOutExpo',
			 clickToFocus:'true',
			 focusBearing:'0',
			 duration:800,
			 reflect:true
		});
	});
</script>
<script src="js/responsiveslides.js"></script>
<script>
	$(function () {
	  $("#slider").responsiveSlides({
		auto: true,
		pager: false,
		nav: true,
		speed: 500,
		maxwidth: 468,
		namespace: "centered-btns"
	  });
	});
</script>
</body>
</html>